//导入sequelize模块
const { Sequelize } = require('sequelize')

//创建数据库连接对象
const db = new Sequelize(
    'management_db', //数据库
    'management_db', //用户名
    'ijN3G2KnPGjmKM4n', //密码
    {
        dialect: 'mysql',
        host: '127.0.0.1',
        port: 3306,
    }
)

module.exports = db
